package com.ithuang.quartz.domain;

import org.quartz.JobExecutionContext;

import java.lang.reflect.InvocationTargetException;

import static com.ithuang.quartz.utils.JobExecuteUtils.executeMethod;

/**
 * 定时任务处理（允许并发执行）
 * @author HTT
 */
public class QuartzJobExecution extends AbstractQuartzJob
{
    @Override
    protected void doExecute(JobExecutionContext jobExecutionContext) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
        executeMethod(jobExecutionContext);
    }
}
